package com.topway.dsmflex.ui.contentProvider;

import java.util.List;

import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.Viewer;

import com.topway.dsmflex.model.synchro.DataColumnBean;
/**
 * 
 * @author liusy 2013-04-28
 *
 */
public class ColumnContentProvider implements IStructuredContentProvider {
   public void inputChanged(Viewer v, Object oldInput, Object newInput) {
   }

   public void dispose() {
   }

   @SuppressWarnings("unchecked")
   public Object[] getElements(Object parent) {
	   List<DataColumnBean> lis = (List<DataColumnBean>)parent;
      return lis.toArray();
   }

}
